package at.main.android;

public class VolumeControl {

	private int vol = 0;

	public int setLevel(int volume) {
		vol = volume;
		return volume;
	}
	
	public int getLevel() {
		return vol;
	}
	
    public void setMute(boolean mute){
    	vol = 0;
    }

    public boolean isMuted(){
		return vol == 0;
    }
}
